package com.richest.api.dao;

import java.util.List;
import java.util.Map;

import com.richest.bean.RoleBean;

/**
 * 角色信息实体映射
 * @author 杨博
 * @version richest-api 2.0
 *
 */
public interface RoleMapper {
	Integer roleAdd(RoleBean bean);

	Integer roleUpdate(RoleBean bean);

	Integer roleDelete(Long id);

	RoleBean roleSelectOne(Long id);

	List<Map<String, Object>> roleSelectMap(Map<String, Object> params);
}
